<?php  
	session_start();
    //CONNECT USER
    require_once "../db/mysql/tbr.php";
	require_once "../classes/forms.cls.php";
	require_once "../classes/users.cls.php";
	require_once "../conf/config.php";
	require_once('../'.$LANG_FILE);
	/****  CONNECTION TO RDBMS SERVER ****/	
	require_once "../db/mysql/tbr.ini.php";
	$email  = $_REQUEST['email'];
	$passwd = $_REQUEST['passwd'];
	if(isset($email)&&isset($passwd)&&!empty($email)&&!empty($passwd)){
	$user   = new svq_user($email,$passwd,new base());	
	echo $user->connect();
	$_SESSION['ui'] = $user->userId;
  }else echo 10;
?>
